#ifndef __SV_XSTUB_HPP__
#define __SV_XSTUB_HPP__

#include <vector>
#include "stdafx.h"
//#include "types.hpp"
#include "object_builder.hpp"
#include "manager_adapter.hpp"

using namespace std;

class xstub {
public:
	manager_adapter * manager_p;

	commprd_adapter * producer_p;
	u_int32 producer_type;

	commsrv_adapter * xtreamsrv_p;
	u_int32 xtreamsrv_type;

	BOOL bQuit;
	BOOL inited;
public:

	xstub();
	~xstub();

	BOOL initialize( );

	void uninit();

	BOOL run();

	BOOL is_quit();

	void quit();
};

#endif

